﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace NWN.GDY.Service.Entity
{
    public class Room
    {
        //编号
        public int RoomID { set; get; }
        public string RoomGUID { set; get; }
        //进入口令
        [DataMember]
        public string Passport { set; get; }
        //桌名
        public string RoomName { set; get; }
        //是否游戏中
        public bool GameProcessing { set; get; }
        public int PlayerCount { set; get; }
        public int WatcherCount { set; get; }
        public string RoomTypeDesc { set; get; }
        public int IsLock { set; get; }
        //RoomType 0新手房,10玩家房
        public int RoomType { set; get; }
        //当前查询人是否管理员
        public int AdminStatus { set; get; }
        public VersionInfo RoomVersion { set; get; }
        //心跳获取的结果
        public int Result { set; get; }
        
        //当前局
        public Round round { set; get; }
        //聊天记录
        public List<ChatRecord> ChatRecordList { set; get; }
        //人员列表
        public List<Player> Players { set; get; }
        //出牌记录
        public List<PlayRecord> PlayRecordList { set; get; }
        public int RoundCoin { set; get; }
        public int RoundMaxCoin { set; get; }
        public int CoinID { set; get; }
        public List<RoundResult> RoundResultList { set; get; }
        public string ServerTime { set; get; }
    }
}
